/*****************************************************************************
 * Copyright (C) Stacy Curl. All rights reserved.                            *
 * ------------------------------------------------------------------------- *
 * The software in this package is published under the terms of the BSD      *
 * style license a copy of which has been included with this distribution in *
 * the LICENSE.txt file.                                                     *
 *****************************************************************************/
package picounit.verify;

import picounit.verify.constraint.ListConstraint;

import java.util.Collection;
import java.util.List;

public interface ListConstraints {
	ReasonCapturer isEqualTo(Object[] equalTo);
	ReasonCapturer isDifferentTo(Object[] differentTo);
	
	ReasonCapturer isEqualtTo(List equalTo);
	ReasonCapturer isDifferentTo(List differentTo);
	
	ReasonCapturer contains(Object element);
	ReasonCapturer doesNotContain(Object element);

	ReasonCapturer contains(Collection elements);
	ReasonCapturer doesNotContain(Collection elements);

	ReasonCapturer isTheSameAs(List sameAs);
	ReasonCapturer isNotTheSameAs(List notTheSameAs);

	ReasonCapturer hasTheSameLengthAs(Collection collection);
	ReasonCapturer hasADifferentLengthTo(Collection collection);

	ReasonCapturer isNull();
	ReasonCapturer isNotNull();

	ReasonCapturer passes(ListConstraint listConstraint);
}
